<%--
  Created by IntelliJ IDEA.
  User: 张浩杨
  Date: 2021/4/8
  Time: 15:25
  To change this template use File | Settings | File Templates.
--%>
<%--<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/head.jsp"%>
        <!-- page content -->
<div class="right_col" role="main">
    <div class="">
        <div class="page-title">

        </div>
        <div class="clearfix"></div>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                    <div class="x_title">
                        <h2>新增APP基础信息<small>${userSession.devName}</small></h2>

                        <div class="clearfix"></div>
                    </div>
                    <div class="x_content">

                        <form  class="form-horizontal form-label-left"  enctype="multipart/form-data"  method="post" action="${pageContext.request.contextPath}/appinfo/useradd">

                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="softwareName">软件名称 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input id="softwareName" class="form-control col-md-7 col-xs-12"  name="softwareName" placeholder="输入软件名称" required="required" type="text">
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="APKName">APK名称 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input type="text" id="APKName" name="APKName"  placeholder="输入APK名称" required="required" class="form-control col-md-7 col-xs-12">
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="supportROM">支持ROM <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input id="supportROM" class="form-control col-md-7 col-xs-12"  name="supportROM" placeholder="输入支持的ROM" required="required" type="text">

                                </div>
                            </div>
                            <%--    <div class="item form-group">
                                    <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">界面语言 <span class="required">*</span>
                                    </label>
                                    <div class="col-md-6 col-sm-6 col-xs-12">
                                        <input type="number" id="number" name="number" placeholder="输入软件支持的界面语言" required="required" data-validate-minmax="10,100" class="form-control col-md-7 col-xs-12">
                                    </div>
                                </div>--%>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="interfaceLanguage">界面语言 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input id="interfaceLanguage" class="form-control col-md-7 col-xs-12"  name="interfaceLanguage" placeholder="输入软件支持的界面语言" required="required" type="text">
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="softwareSize">软件大小 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input id="softwareSize" type="text" name="softwareSize" placeholder="请输入软件大小，单位为Mb"  class="form-control col-md-7 col-xs-12" required="required">
                                </div>
                            </div>
                            <div class="item form-group">
                                <label for="downloads" class="control-label col-md-3">下载次数</label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input id="downloads" type="text" name="downloads" placeholder="输入下载次数"  class="form-control col-md-7 col-xs-12" required="required">
                                </div>
                            </div>
                            <div class="item form-group">
                                <label for="platformId" class="control-label col-md-3 col-sm-3 col-xs-12">所属平台</label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <select name="platformId" id="platformId" class="form-control col-md-7 col-xs-12">>
                                        <option value=""selected="selected">--请选择--</option>
                                        <option value="1">手机</option>
                                        <option value="2">平板</option>
                                        <option value="3">通用</option>
                                    </select>
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="categoryLevel1">一级分类 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <select   name="categoryLevel1" id="categoryLevel1" class="form-control col-md-7 col-xs-12">>
                                        <option value=""selected="selected">--请选择--</option>
                                        <option value="1">全部应用</option>
                                        <option value="2">全部游戏</option>
                                    </select>
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="categoryLevel2">二级分类 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <select  name="categoryLevel2" id="categoryLevel2" class="form-control col-md-7 col-xs-12">>
                                        <option value="" selected="selected"></option>
                                        <%--<option value="19">休闲游戏</option>
                                        <option value="20">益智游戏</option>
                                        <option value="21">棋牌游戏</option>
                                        <option value="22">体育赛车</option>
                                        <option value="23">动作射击</option>
                                        <option value="24">掌上网游</option>
                                        <option value="25">策略塔防</option>
                                        <option value="26">角色扮演</option>
                                        <option value="27">模拟经营</option>
                                        <option value="28">音乐游戏</option>--%>

                                    </select>
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="categoryLevel3">三级分类 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <select  name="categoryLevel3" id="categoryLevel3" class="form-control col-md-7 col-xs-12">>
                                        <option value="" selected="selected"></option>
                                    <%--    <option value="38">跳舞</option>
                                        <option value="39">涂鸦</option>
                                        <option value="40">虐心</option>
                                        <option value="41">冒险</option>--%>
                                    </select>
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12"<%-- for="status"--%>>APP状态 <span class="required">*</span>
                                </label>
                                <p name="required" id="required" style="color: #7a8a97" >待审核</p>

                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="appInfo">应用简介 <span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <textarea id="appInfo"  name="appInfo" placeholder="输入本软件的相关信息,本信息作为软件的详细信息进行软件的介绍"  class="form-control col-md-7 col-xs-12" required="required"></textarea>
                                    <%--<textarea id="appInfo" required="required" name="appInfo" placeholder="输入本软件的相关信息,本信息作为软件的详细信息进行软件的介绍" class="form-control col-md-7 col-xs-12"></textarea>--%>
                                </div>
                            </div>
                            <div class="item form-group">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="a_logoPicPath">LOGO图片<span class="required">*</span>
                                </label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <input type="file" id="a_logoPicPath" name="a_logoPicPath"  class="form-control col-md-7 col-xs-12">
                                </div>
                            </div>

                            <div class="ln_solid"></div>
                            <div class="form-group">
                                <div class="col-md-6 col-md-offset-3">
                                   <%-- <input  type="submit" class="btn btn-success">保存</input>
                                    <input type="button" class="btn btn-primary">返回</input>--%>
                                    <input type="submit" name="add" id="add" class="btn btn-success" value="保存">
                                    <input type="button" id="back" name="back" class="btn btn-primary" value="返回">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
        <!-- /page content -->
<%@include file="/WEB-INF/common/foot.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/AppCategory/appCategory.js"></script>
